﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Betop.Lib.Core.Base;

namespace Betop.Lib.Core.Tree
{
    public interface ITree<Info> : ICommonOperate<Info>
    {
        void Move(List<int> lstSrcIDs, object destID);

        List<int> GetSubIDs(int upperID);
        List<int> GetSubIDs(IEnumerable<int> lstUpperIDs);

        int GetRootID();

        bool Exist(object upperID, string name, object id);

        List<Info> GetList(int upperID);

        int GetID(object upperID, string name);

        int GetUpperID(object id);
    }
}
